//
//  ZCameraShot.h
//  danpin
//
//  Created by chuangjia on 5/8/15.
//  Copyright (c) 2015 chuangjia. All rights reserved.
//

@import Foundation;
@import AVFoundation;
@import UIKit;

@interface ZCameraShot : NSObject

+ (void)takePhotoCaptureView:(UIView *)captureView
            stillImageOutput:(AVCaptureStillImageOutput *)stillImageOutput
              effectiveScale:(NSInteger)effectiveScale
            videoOrientation:(AVCaptureVideoOrientation)videoOrientation
                  completion:(void (^)(UIImage *photo))completion;

+ (void)takePhotoCaptureViewForCard:(UIView *)captureView
            stillImageOutput:(AVCaptureStillImageOutput *)stillImageOutput
              effectiveScale:(NSInteger)effectiveScale
            videoOrientation:(AVCaptureVideoOrientation)videoOrientation
                  completion:(void (^)(UIImage *photo))completion;
@end
